<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
._box {
	position: relative;
	width: 119px;
	height: 37px;
	background-color: #53AD3F;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-attachment: scroll;
	line-height: 37px;
	text-align: center;
	color: white;
	cursor: pointer;
	overflow: hidden;
	z-index: 1;
}

._box input {
	position: absolute;
	width: 119px;
	height: 40px;
	line-height: 40px;
	font-size: 23px;
	/* 透明 */
	opacity: 0;
	filter: "alpha(opacity=0)";
	filter: alpha(opacity = 0);
	-moz-opacity: 0;
	left: -5px;
	top: -2px;
	cursor: pointer;
	z-index: 2;
}
</style>
</head>
<body>
	<form id="form" action="<%=path %>/file/fileImpl.do" method="post" enctype="multipart/form-data">
		<!-- <div>
			<div class="_box">
				<input type="file" name="_f" id="_f" />导入数据
			</div>
		</div> -->
		<input type="file" id="file" name="file" onchange="change();" />
	</form>
</body>
<script type="text/javascript" src="<%=path%>/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript">
	function change(){
		$("#form").submit();
	}
</script>
</html>